package com.dapeis.api.controller.collocation;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.google.gson.JsonElement;

/**
 * @author 作者 E-mail: hzyuanyong@126.com
 * @version 创建时间：2017年5月24日 下午3:11:39 类说明
 */
public interface IMoneyController {
    
    /**
     * 我的资金和提现记录
     * @param curretPager
     * @param request
     * @return
     */
    @RequestMapping("/myAccout")
    public @ResponseBody JsonElement myAccout(
	    @RequestParam Integer curretPager, HttpServletRequest request);

    /**
     * 确认提现
     * @param money
     * @param code
     * @param request
     * @return
     */
    @RequestMapping(value = "/withdrawal", method = RequestMethod.POST)
    public @ResponseBody JsonElement withdrawal(@RequestParam String money,String code,
	    HttpServletRequest request);
    /**
     * 提现验证码
     * @param money
     * @return
     */
    @RequestMapping(value="/sms",method = RequestMethod.POST)
    public @ResponseBody JsonElement sendSMS(String money);
}
